﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BlueLotus7.ArchiveSystem.Common
{
    [DataContract]
    public class TaskExecutionRecord
    {
        [DataMember]
        public Guid RecordKey
        {
            get;
            set;
        }

        [DataMember]
        public Guid TaskKey
        {
            get;
            set;
        }

        [DataMember]
        public bool IsSuccess
        {
            get;
            set;
        }

        [DataMember]
        public string Exception
        {
            get;
            set;
        }

        [DataMember]
        public DateTime CreatedStamp
        {
            get;
            set;
        }
    }
}
